<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
  
        //2.解构赋值的形式
        import {school, teach} from "m1.js";
        console.log(school);
        console.log(teach);

        import {school as guigu, findJob} from "m2.js";

        console.log(guigu);
        console.log(findJob);

        import {default as m3} from "m3.js";
        console.log(m3);

        //3.简便形式   只能针对默认暴漏
        import m3 from "m3.js";
        console.log(m3);

    </script>
</body>
</html>